Optimal. Leaf size=59 \[ -\frac{2 e (b d-a e)}{b^3 (a+b x)}-\frac{(b d-a e)^2}{2 b^3 (a+b x)^2}+\frac{e^2 \log (a+b x)}{b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0442357, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.065, Rules used = {27, 43} \[ -\frac{2 e (b d-a e)}{b^3 (a+b x)}-\frac{(b d-a e)^2}{2 b^3 (a+b x)^2}+\frac{e^2 \log (a+b x)}{b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 43
Rubi steps
\begin{align*} \int \frac{(a+b x) (d+e x)^2}{\left (a^2+2 a b x+b^2 x^2\right )^2} \, dx &=\int \frac{(d+e x)^2}{(a+b x)^3} \, dx\\ &=\int \left (\frac{(b d-a e)^2}{b^2 (a+b x)^3}+\frac{2 e (b d-a e)}{b^2 (a+b x)^2}+\frac{e^2}{b^2 (a+b x)}\right ) \, dx\\ &=-\frac{(b d-a e)^2}{2 b^3 (a+b x)^2}-\frac{2 e (b d-a e)}{b^3 (a+b x)}+\frac{e^2 \log (a+b x)}{b^3}\\ \end{align*}
Mathematica [A] time = 0.0244924, size = 49, normalized size = 0.83 \[ \frac{2 e^2 \log (a+b x)-\frac{(b d-a e) (3 a e+b (d+4 e x))}{(a+b x)^2}}{2 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 92, normalized size = 1.6 \begin{align*} 2\,{\frac{a{e}^{2}}{{b}^{3} \left ( bx+a \right ) }}-2\,{\frac{de}{{b}^{2} \left ( bx+a \right ) }}-{\frac{{a}^{2}{e}^{2}}{2\,{b}^{3} \left ( bx+a \right ) ^{2}}}+{\frac{ade}{{b}^{2} \left ( bx+a \right ) ^{2}}}-{\frac{{d}^{2}}{2\,b \left ( bx+a \right ) ^{2}}}+{\frac{{e}^{2}\ln \left ( bx+a \right ) }{{b}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.968822, size = 107, normalized size = 1.81 \begin{align*} -\frac{b^{2} d^{2} + 2 \, a b d e - 3 \, a^{2} e^{2} + 4 \,{\left (b^{2} d e - a b e^{2}\right )} x}{2 \,{\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}} + \frac{e^{2} \log \left (b x + a\right )}{b^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.44326, size = 207, normalized size = 3.51 \begin{align*} -\frac{b^{2} d^{2} + 2 \, a b d e - 3 \, a^{2} e^{2} + 4 \,{\left (b^{2} d e - a b e^{2}\right )} x - 2 \,{\left (b^{2} e^{2} x^{2} + 2 \, a b e^{2} x + a^{2} e^{2}\right )} \log \left (b x + a\right )}{2 \,{\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.647027, size = 80, normalized size = 1.36 \begin{align*} \frac{3 a^{2} e^{2} - 2 a b d e - b^{2} d^{2} + x \left (4 a b e^{2} - 4 b^{2} d e\right )}{2 a^{2} b^{3} + 4 a b^{4} x + 2 b^{5} x^{2}} + \frac{e^{2} \log{\left (a + b x \right )}}{b^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09183, size = 90, normalized size = 1.53 \begin{align*} \frac{e^{2} \log \left ({\left | b x + a \right |}\right )}{b^{3}} - \frac{4 \,{\left (b d e - a e^{2}\right )} x + \frac{b^{2} d^{2} + 2 \, a b d e - 3 \, a^{2} e^{2}}{b}}{2 \,{\left (b x + a\right )}^{2} b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]